package com.uzykj.modules.blog.entity;

import com.uzykj.core.persistence.DataEntity;

/**
 * @author ghostxbh
 * @date 2020/7/8
 * 标签
 */
public class BlogLabel extends DataEntity<BlogLabel> {

    private String name;

    private Integer total;

    private Integer sort;

    public BlogLabel(String id) {
        super(id);
    }

    public BlogLabel(String name, Integer total, Integer sort) {
        if (name != null)
            this.name = name;
        if (total != null)
            this.total = total;
        if (sort != null)
            this.sort = sort;
    }

    public BlogLabel() {
        super();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}